--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  11_MarriedCouples_analysis.log
  log type:  text
 opened on:  16 Apr 2018, 13:40:33

. global beginTime "DateTime: $S_DATE $S_TIME";

. set more off ;

. set linesize 255 ;

. set matsize 10000 ;

. set mem 2g ;
set memory ignored.
    Memory no longer needs to be set in modern Statas; memory adjustments are performed on the fly automatically.

. cd "$dataDir" ;

. ****************************************************************************************************;
. * ANALYSIS ;
. ****************************************************************************************************;
. local rsig = .0001 ;

. ****************************************************************************************************;
. * FINAL RESTRICTIONS;
. ****************************************************************************************************;
. use marriedCouples ;

. count ;
  1,268,498

. drop if statefip == 2 | statefip == 15;
(33,056 observations deleted)

. count ;
  1,235,442

. keep if year>=1984&year<=2013;
(184,250 observations deleted)

. count ;
  1,051,192

. keep if ageW>=24&ageW<=48 ;
(440,647 observations deleted)

. count ;
  610,545

. drop if whynwlyW == 2 | whynwlyW ==4 ;
(15,978 observations deleted)

. count ;
  594,567

. keep if incdisabW==0&incssW==0&incssiW==0 ;
(8,360 observations deleted)

. count ;
  586,207

. *-------------------------------- ;
. * ONLINE APPENDIX FIGURE 3 - MARRIED WOMEN ;
. *-------------------------------- ;
. preserve ;

. gen eligible = fedEIC>0 ;

. mat t = J(30,16,.z) ;

. local r = 1 ;

. foreach y of numlist 1984(1)2012 {;
  2.         mat t[`r',1] = `y' ;
  3.         local c = 2 ;
  4.         foreach v of varlist hgcW_11 hgcW_12 hgcW_13 hgcW_16 hgcW_17 {;
  5.                         qui summ eligible if year==`y' & `v'>0 & qualChild>0 [aw=wtsuppW], meanonly ;
  6.                 mat t[`r',`c']=round(r(mean),.0001) ;
  7.                 qui summ `v' if year==`y' & qualChild>0 [aw=wtsuppW], meanonly ;
  8.                 mat t[`r',`c'+5]=round(r(mean),.0001) ;
  9.                 local c=`c'+1 ;
 10.                 local mean0 ;
 11.                 };
 12.         local r=`r'+1 ;
 13.         };

. mat list t, nodotz ;

t[30,16]
        c1     c2     c3     c4     c5     c6     c7     c8     c9    c10    c11    c12    c13    c14    c15    c16
 r1   1984  .1559  .0649  .0412  .0274  .0161  .1367  .4674  .2044  .1227  .0688                                   
 r2   1985  .1948  .0712   .045  .0238  .0205  .1311  .4718  .2041  .1263  .0668                                   
 r3   1986  .2001  .0619   .041  .0263  .0158   .125  .4638  .2119  .1293    .07                                   
 r4   1987  .3023  .1051  .0741  .0414  .0335  .1222  .4595  .2141  .1328  .0714                                   
 r5   1988  .3829  .1443  .0848  .0699  .0521  .1209   .452  .2131  .1397  .0742                                   
 r6   1989  .3935  .1516  .0877  .0584  .0486  .1136  .4424  .2199  .1464  .0777                                   
 r7   1990  .4177  .1529  .0973  .0674   .033  .1144  .4275  .2254   .153  .0797                                   
 r8   1991  .4646  .1754  .0975  .0581   .039  .0969  .4044  .2706  .1668  .0613                                   
 r9   1992  .4695  .1947  .1126  .0627  .0461  .0929  .3864  .2869  .1706  .0632                                   
r10   1993  .4876  .1937  .1268  .0678  .0518  .0937  .3593  .2981  .1802  .0688                                   
r11   1994  .5111  .2044  .1416  .0903  .0697  .0915  .3523  .2978  .1852  .0732                                   
r12   1995  .5191  .2096  .1247  .0443  .0341  .0939  .3464  .2898  .1993  .0707                                   
r13   1996  .5659  .2068   .121   .073  .0257  .0893  .3487   .293  .1996  .0694                                   
r14   1997  .5477  .1964  .1145  .0507  .0243  .0886  .3459  .2868  .2076  .0711                                   
r15   1998  .5356  .2031  .1277  .0517   .015  .0908  .3319  .2902  .2112  .0759                                   
r16   1999  .5157  .2063  .1126  .0519  .0291    .09  .3244  .2989  .2075  .0792                                   
r17   2000  .5112   .187  .1007  .0388  .0253  .0884  .3069  .3047  .2181  .0818                                   
r18   2001  .5128  .2038  .1066  .0524   .023  .0895  .3034  .2958  .2243   .087                                   
r19   2002  .5399  .2315  .1265    .06  .0314   .093  .2941   .288  .2345  .0903                                   
r20   2003  .5848  .2309  .1313  .0599  .0307  .0929  .2891  .2904  .2349  .0928                                   
r21   2004  .5849  .2376  .1314  .0655  .0342  .0918  .2734  .2925   .241  .1013                                   
r22   2005  .5723  .2499  .1404  .0571  .0294  .0916  .2712  .2923  .2416  .1033                                   
r23   2006  .5591  .2469  .1377  .0607   .029  .0871  .2686  .2798  .2598  .1046                                   
r24   2007  .5712  .2569  .1245  .0533  .0267  .0875  .2571  .2843  .2562  .1149                                   
r25   2008  .6504  .2908   .147  .0649  .0299  .0844  .2559  .2804  .2517  .1276                                   
r26   2009  .7329  .3636  .2204  .1056   .041  .0867  .2442   .282  .2626  .1245                                   
r27   2010  .6991  .3773  .2249  .1031  .0514  .0856  .2365  .2819  .2613  .1347                                   
r28   2011  .6959  .3846   .221   .095  .0469  .0841  .2342  .2731  .2709  .1376                                   
r29   2012  .7372  .3906  .2187  .1005  .0522  .0783  .2273  .2742  .2692   .151                                   
r30                                                                                                                

. restore ;

. ****************************************************************************************************;
. * VARIABLES AND LOCALS   ;
. ****************************************************************************************************;
. drop unempr ;

. gen emppop = emp/pop ;

. gen unempr = (unemp/(unemp+emp)) ;

. gen children = min(qualChild,3) ;

. gen byte racesW_1 = whiteW ;

. gen byte racesW_2 = hispanicW ;

. gen byte racesH_1 = whiteH ;

. gen byte racesH_2 = hispanicH ;

. gen byte anywave_1 = anywave * (children>0) ;

. gen byte anywave_2 = anywave * (children>1) ;

. gen ur_1 = unempr * (children>0) ;

. gen ur_2 = unempr * (children>1) ;

. gen stXyr = year*1000 * state ;

. qui tab year, gen(yI) ;

. local income_vars "incwage incbus incfarm incss incwelfr incgov
>         incaloth incretir incssi incdrt incint incunemp incwkcom incvet incsurv
>         incdisab incdivid incrent inceduc incchild incalim incasist incother  ";

. local temp "" ;

. foreach v in `income_vars' {;
  2.         local temp "`temp' `v'H `v'W" ;
  3.         };

. local income_vars "`temp'" ;

. egen cpsfamilyincome = rowtotal(`income_vars') ;

. gen fatti = cpsfamilyincome+stampval+heatval+houssub+schlunch-fiitax-siitax-fica ;

. foreach fpl of numlist 25(25)500 {;
  2.         gen byte fpl`fpl' = (cpsfamilyincome>(`fpl'/100)*fpl) ;
  3.         gen byte afpl`fpl' = (fatti>(`fpl'/100)*fpl) ;
  4.         local povertyvars "`povertyvars' fpl`fpl' afpl`fpl'";
  5.         };

. gen realFedEic  = fedEIC/1000 ;

. *gen simFedEicUn = fedEICSIV_uni/1000 ;
. gen simFedEic82 = fedEICSIV_82cps/1000 ;

. *gen simFedEic92 = fedEICSIV_92cps/1000 ;
. gen treatChld1p = (year > 1993) * (children > 0) ;

. gen treatChld2p = (year > 1993) * (children > 1) ;

. global wgt "wtsuppW" ;

. local shrtDemoFedChld1 "yI* cI* ageW_* hgcW_* racesW_* ageH_* hgcH_* racesH_* " ;

. local shrtDemoFedChld2 "yI* cI* ageW_* hgcW_* racesW_* ageH_* hgcH_* racesH_*" ;

. local shrtDemoSteChld1 "cI3 cXs_* cXy_* ageW_* hgcW_* racesW_* ageH_* hgcH_* racesH_*" ;

. local shrtDemoSteChld2 "cI3 cXs_* cXy_* ageW_* hgcW_* racesW_* ageH_* hgcH_* racesH_*" ;

. local fuUnDemoFedChld1 "`shrtDemoFedChld1' fedRegTaxSIV_uni afdcSIV_uni anywave_1 ur_1" ;

. local fuUnDemoFedChld2 "`shrtDemoFedChld2' fedRegTaxSIV_uni afdcSIV_uni anywave_2 ur_2" ;

. local fu82DemoFedChld1 "`shrtDemoFedChld1' fedRegTaxSIV_82cps afdcSIV_82cps anywave_1 ur_1" ;

. local fu82DemoFedChld2 "`shrtDemoFedChld2' fedRegTaxSIV_82cps afdcSIV_82cps anywave_2 ur_2" ;

. local fu92DemoFedChld1 "`shrtDemoFedChld1' fedRegTaxSIV_92cps afdcSIV_92cps anywave_1 ur_1" ;

. local fu92DemoFedChld2 "`shrtDemoFedChld2' fedRegTaxSIV_92cps afdcSIV_92cps anywave_2 ur_2" ;

. local shrtYrFed "year>=1991&year<=1998" ;

. local fullYrFed "year>=1984&year<=1998" ;

. local allEdu "hgcW>=0";

. local lowEdu "hgcW<13";

. local lowestEdu "hgcW<12";

. local medEdu "hgcW<16";

. local child "children>0";

. local repsamp "hgcW<12&ageW>=25&ageW<=54&ageH>=25&ageH<=54&cpsfamilyincome>=0&incwageH>=0&incwageW>=0" ;

. local treat1plus "children>0";

. local treat2plus "children>1";

. local prefed "year>1990&year<1994";

. local postfed "year>1993";

. ****************************************************************************************************;
. * REGRESSIONS (ONE PARAMETER) ;
. ****************************************************************************************************;
. program define regHelper ;
  1.         args matrix beginRow column tgroup pre post outcome endo treatment absorb controls sample;
  2.         di "REG HELPER - `beginRow' `column' `outcome' `treatment' `sample' `absorb' `controls' ";
  3.         areg `outcome' `treatment' `controls' if `sample' [aw=$wgt], absorb(`absorb') cluster(state) ;
  4.         mat `matrix'[`beginRow',`column'] = _b[`treatment'];
  5.         mat `matrix'[`beginRow'+1,`column'] = _se[`treatment'];
  6.         local ts = round(_b[`treatment']/_se[`treatment'], .01) ;
  7.         mat `matrix'[`beginRow'+5,`column'] = e(N);
  8.         mat `matrix'[`beginRow'+7,`column'] = e(df_r);
  9.         qui areg `endo' `treatment' `controls' if `sample' [aw=$wgt], absorb(`absorb') cluster(state) ;
 10.         mat `matrix'[`beginRow'+2,`column'] = `matrix'[`beginRow',`column'] / _b[`treatment'] ;
 11.         local beta = `matrix'[`beginRow'+2,`column'] ;
 12.         qui summ `outcome' if `sample' [aw=$wgt], meanonly ;
 13.         mat `matrix'[`beginRow'+3,`column'] = `matrix'[`beginRow'+2,`column'] / r(mean) ;
 14.         mat `matrix'[`beginRow'+6,`column'] = r(mean) ;
 15.                 end ;

. * --------------------------------------------------------------;
. * Appendix Table 8: Difference-in-Difference Estimates of OBRA93 and Parameterized DD Estimates of TRA86, OBRA90 and OBRA93 on ATT Income Above 100% of the Federal Poverty Threshold for Married Couples ;
. * --------------------------------------------------------------;
. mat con = J(8,4,.z) ;

. regHelper "con" "1" "1" "`treat1plus'" "`prefed'" "`postfed'" "afpl100" "realFedEic" "treatChld1p" "stXyr" "`shrtDemoFedChld1'" "`shrtYrFed' &`lowEdu' " ;
REG HELPER - 1 1 afpl100 treatChld1p year>=1991&year<=1998 &hgcW<13  stXyr yI* cI* ageW_* hgcW_* racesW_* ageH_* hgcH_* racesH_*  
(sum of wgt is   1.0733e+08)
note: yI1 omitted because of collinearity
note: yI2 omitted because of collinearity
note: yI3 omitted because of collinearity
note: yI4 omitted because of collinearity
note: yI5 omitted because of collinearity
note: yI6 omitted because of collinearity
note: yI7 omitted because of collinearity
note: yI15 omitted because of collinearity
note: yI16 omitted because of collinearity
note: yI17 omitted because of collinearity
note: yI18 omitted because of collinearity
note: yI19 omitted because of collinearity
note: yI20 omitted because of collinearity
note: yI21 omitted because of collinearity
note: yI22 omitted because of collinearity
note: yI23 omitted because of collinearity
note: yI24 omitted because of collinearity
note: yI25 omitted because of collinearity
note: yI26 omitted because of collinearity
note: yI27 omitted because of collinearity
note: yI28 omitted because of collinearity
note: yI29 omitted because of collinearity
note: yI30 omitted because of collinearity
note: cI3 omitted because of collinearity
note: ageW_20 omitted because of collinearity
note: ageW_48 omitted because of collinearity
note: ageW_52 omitted because of collinearity
note: hgcW_12 omitted because of collinearity
note: hgcW_13 omitted because of collinearity
note: hgcW_16 omitted because of collinearity
note: hgcW_17 omitted because of collinearity
note: hgcH_17 omitted because of collinearity
note: yI8 omitted because of collinearity
note: yI9 omitted because of collinearity
note: yI10 omitted because of collinearity
note: yI11 omitted because of collinearity
note: yI12 omitted because of collinearity
note: yI13 omitted because of collinearity
note: yI14 omitted because of collinearity

Linear regression, absorbing indicators         Number of obs     =     60,253
                                                F(  28,     48)   =     112.71
                                                Prob > F          =     0.0000
                                                R-squared         =     0.0976
                                                Adj R-squared     =     0.0913
                                                Root MSE          =     0.2669

                                 (Std. Err. adjusted for 49 clusters in state)
------------------------------------------------------------------------------
             |               Robust
     afpl100 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
 treatChld1p |   .0220515   .0045491     4.85   0.000      .012905     .031198
         yI1 |          0  (omitted)
         yI2 |          0  (omitted)
         yI3 |          0  (omitted)
         yI4 |          0  (omitted)
         yI5 |          0  (omitted)
         yI6 |          0  (omitted)
         yI7 |          0  (omitted)
         yI8 |          0  (omitted)
         yI9 |          0  (omitted)
        yI10 |          0  (omitted)
        yI11 |          0  (omitted)
        yI12 |          0  (omitted)
        yI13 |          0  (omitted)
        yI14 |          0  (omitted)
        yI15 |          0  (omitted)
        yI16 |          0  (omitted)
        yI17 |          0  (omitted)
        yI18 |          0  (omitted)
        yI19 |          0  (omitted)
        yI20 |          0  (omitted)
        yI21 |          0  (omitted)
        yI22 |          0  (omitted)
        yI23 |          0  (omitted)
        yI24 |          0  (omitted)
        yI25 |          0  (omitted)
        yI26 |          0  (omitted)
        yI27 |          0  (omitted)
        yI28 |          0  (omitted)
        yI29 |          0  (omitted)
        yI30 |          0  (omitted)
         cI0 |   .1060502   .0081639    12.99   0.000     .0896356    .1224647
         cI1 |   .0974363   .0042188    23.10   0.000     .0889538    .1059188
         cI2 |   .0738973   .0059529    12.41   0.000     .0619282    .0858664
         cI3 |          0  (omitted)
     ageW_20 |          0  (omitted)
     ageW_24 |  -.0394974   .0098383    -4.01   0.000    -.0592787   -.0197161
     ageW_28 |  -.0159757   .0099089    -1.61   0.113    -.0358988    .0039474
     ageW_32 |  -.0044316   .0084415    -0.52   0.602    -.0214043    .0125411
     ageW_36 |  -.0014197   .0079627    -0.18   0.859    -.0174298    .0145905
     ageW_40 |  -.0037424     .00711    -0.53   0.601     -.018038    .0105532
     ageW_44 |    .005517   .0066937     0.82   0.414    -.0079415    .0189755
     ageW_48 |          0  (omitted)
     ageW_52 |          0  (omitted)
     hgcW_11 |  -.0722304   .0051024   -14.16   0.000    -.0824895   -.0619713
     hgcW_12 |          0  (omitted)
     hgcW_13 |          0  (omitted)
     hgcW_16 |          0  (omitted)
     hgcW_17 |          0  (omitted)
    racesW_1 |   .0054392   .0059326     0.92   0.364     -.006489    .0173674
    racesW_2 |  -.0341771   .0071086    -4.81   0.000    -.0484699   -.0198843
     ageH_20 |  -.0152929   .0329004    -0.46   0.644    -.0814436    .0508577
     ageH_24 |   .0553456   .0126088     4.39   0.000     .0299938    .0806973
     ageH_28 |   .0520132   .0109692     4.74   0.000     .0299582    .0740682
     ageH_32 |   .0525393   .0117198     4.48   0.000     .0289751    .0761035
     ageH_36 |    .052543   .0116814     4.50   0.000     .0290558    .0760301
     ageH_40 |   .0561391   .0109135     5.14   0.000     .0341961    .0780821
     ageH_44 |   .0456076   .0112951     4.04   0.000     .0228974    .0683179
     ageH_48 |   .0382765   .0101167     3.78   0.000     .0179354    .0586175
     ageH_52 |    .040818   .0093906     4.35   0.000     .0219369    .0596991
     hgcH_11 |  -.0661598   .0100661    -6.57   0.000    -.0863991   -.0459205
     hgcH_12 |    .003955   .0085067     0.46   0.644    -.0131488    .0210589
     hgcH_13 |   .0116978   .0093776     1.25   0.218    -.0071572    .0305529
     hgcH_16 |   .0069943   .0091719     0.76   0.449     -.011447    .0254355
     hgcH_17 |          0  (omitted)
    racesH_1 |   .0301732   .0083257     3.62   0.001     .0134333    .0469131
    racesH_2 |  -.0344738   .0063731    -5.41   0.000    -.0472878   -.0216597
       _cons |   .7941036   .0146696    54.13   0.000     .7646083    .8235989
-------------+----------------------------------------------------------------
       stXyr |   absorbed                                     (392 categories)

. regHelper "con" "1" "2" "`treat1plus'" "`prefed'" "`postfed'" "afpl100" "realFedEic" "treatChld1p" "stXyr" "`fu82DemoFedChld1'" "`shrtYrFed' &`lowEdu' " ;
REG HELPER - 1 2 afpl100 treatChld1p year>=1991&year<=1998 &hgcW<13  stXyr yI* cI* ageW_* hgcW_* racesW_* ageH_* hgcH_* racesH_*  fedRegTaxSIV_82cps afdcSIV_82cps anywave_1 ur_1 
(sum of wgt is   1.0733e+08)
note: yI1 omitted because of collinearity
note: yI2 omitted because of collinearity
note: yI3 omitted because of collinearity
note: yI4 omitted because of collinearity
note: yI5 omitted because of collinearity
note: yI6 omitted because of collinearity
note: yI7 omitted because of collinearity
note: yI15 omitted because of collinearity
note: yI16 omitted because of collinearity
note: yI17 omitted because of collinearity
note: yI18 omitted because of collinearity
note: yI19 omitted because of collinearity
note: yI20 omitted because of collinearity
note: yI21 omitted because of collinearity
note: yI22 omitted because of collinearity
note: yI23 omitted because of collinearity
note: yI24 omitted because of collinearity
note: yI25 omitted because of collinearity
note: yI26 omitted because of collinearity
note: yI27 omitted because of collinearity
note: yI28 omitted because of collinearity
note: yI29 omitted because of collinearity
note: yI30 omitted because of collinearity
note: cI3 omitted because of collinearity
note: ageW_20 omitted because of collinearity
note: ageW_48 omitted because of collinearity
note: ageW_52 omitted because of collinearity
note: hgcW_12 omitted because of collinearity
note: hgcW_13 omitted because of collinearity
note: hgcW_16 omitted because of collinearity
note: hgcW_17 omitted because of collinearity
note: hgcH_17 omitted because of collinearity
note: yI8 omitted because of collinearity
note: yI9 omitted because of collinearity
note: yI10 omitted because of collinearity
note: yI11 omitted because of collinearity
note: yI12 omitted because of collinearity
note: yI13 omitted because of collinearity
note: yI14 omitted because of collinearity

Linear regression, absorbing indicators         Number of obs     =     60,253
                                                F(  32,     48)   =     272.02
                                                Prob > F          =     0.0000
                                                R-squared         =     0.0980
                                                Adj R-squared     =     0.0916
                                                Root MSE          =     0.2668

                                       (Std. Err. adjusted for 49 clusters in state)
------------------------------------------------------------------------------------
                   |               Robust
           afpl100 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------------+----------------------------------------------------------------
       treatChld1p |   .0049118   .0055531     0.88   0.381    -.0062534    .0160771
               yI1 |          0  (omitted)
               yI2 |          0  (omitted)
               yI3 |          0  (omitted)
               yI4 |          0  (omitted)
               yI5 |          0  (omitted)
               yI6 |          0  (omitted)
               yI7 |          0  (omitted)
               yI8 |          0  (omitted)
               yI9 |          0  (omitted)
              yI10 |          0  (omitted)
              yI11 |          0  (omitted)
              yI12 |          0  (omitted)
              yI13 |          0  (omitted)
              yI14 |          0  (omitted)
              yI15 |          0  (omitted)
              yI16 |          0  (omitted)
              yI17 |          0  (omitted)
              yI18 |          0  (omitted)
              yI19 |          0  (omitted)
              yI20 |          0  (omitted)
              yI21 |          0  (omitted)
              yI22 |          0  (omitted)
              yI23 |          0  (omitted)
              yI24 |          0  (omitted)
              yI25 |          0  (omitted)
              yI26 |          0  (omitted)
              yI27 |          0  (omitted)
              yI28 |          0  (omitted)
              yI29 |          0  (omitted)
              yI30 |          0  (omitted)
               cI0 |   2.384495   .7305957     3.26   0.002     .9155339    3.853456
               cI1 |   1.052488   .3059984     3.44   0.001     .4372365    1.667739
               cI2 |    .935124   .2767493     3.38   0.001     .3786822    1.491566
               cI3 |          0  (omitted)
           ageW_20 |          0  (omitted)
           ageW_24 |  -.0399401   .0098551    -4.05   0.000    -.0597552    -.020125
           ageW_28 |  -.0162954   .0098892    -1.65   0.106    -.0361791    .0035882
           ageW_32 |  -.0049293   .0084801    -0.58   0.564    -.0219798    .0121211
           ageW_36 |  -.0018866   .0080153    -0.24   0.815    -.0180025    .0142293
           ageW_40 |  -.0041228   .0071054    -0.58   0.564    -.0184091    .0101635
           ageW_44 |   .0052554   .0067108     0.78   0.437    -.0082376    .0187485
           ageW_48 |          0  (omitted)
           ageW_52 |          0  (omitted)
           hgcW_11 |  -.0720853   .0050339   -14.32   0.000    -.0822067   -.0619639
           hgcW_12 |          0  (omitted)
           hgcW_13 |          0  (omitted)
           hgcW_16 |          0  (omitted)
           hgcW_17 |          0  (omitted)
          racesW_1 |   .0051421    .005937     0.87   0.391     -.006795    .0170792
          racesW_2 |   -.033818   .0071267    -4.75   0.000    -.0481472   -.0194887
           ageH_20 |  -.0151272   .0329029    -0.46   0.648    -.0812829    .0510284
           ageH_24 |   .0555141   .0125676     4.42   0.000     .0302454    .0807829
           ageH_28 |    .052073   .0109421     4.76   0.000     .0300724    .0740735
           ageH_32 |   .0527114   .0116991     4.51   0.000     .0291887     .076234
           ageH_36 |   .0527121    .011703     4.50   0.000     .0291817    .0762425
           ageH_40 |   .0564456   .0109662     5.15   0.000     .0343967    .0784946
           ageH_44 |   .0457933   .0112805     4.06   0.000     .0231124    .0684743
           ageH_48 |   .0384906    .010151     3.79   0.000     .0180806    .0589007
           ageH_52 |   .0410716   .0094066     4.37   0.000     .0221583    .0599849
           hgcH_11 |  -.0661081   .0101083    -6.54   0.000    -.0864322   -.0457839
           hgcH_12 |   .0038655   .0085425     0.45   0.653    -.0133104    .0210415
           hgcH_13 |   .0115378   .0094019     1.23   0.226     -.007366    .0304416
           hgcH_16 |    .006802   .0091949     0.74   0.463    -.0116856    .0252897
           hgcH_17 |          0  (omitted)
          racesH_1 |   .0306679   .0082681     3.71   0.001     .0140438     .047292
          racesH_2 |  -.0345152   .0063178    -5.46   0.000     -.047218   -.0218124
fedRegTaxSIV_82cps |   -.000551   .0001748    -3.15   0.003    -.0009025   -.0001995
     afdcSIV_82cps |    -.00001   4.41e-06    -2.27   0.028    -.0000189   -1.14e-06
         anywave_1 |   .0103558   .0054875     1.89   0.065    -.0006775    .0213891
              ur_1 |  -.1148967   .1561404    -0.74   0.465    -.4288381    .1990447
             _cons |   4.778557   1.257934     3.80   0.000     2.249312    7.307803
-------------------+----------------------------------------------------------------
             stXyr |   absorbed                                     (392 categories)

. regHelper "con" "1" "3" "`treat1plus'" "`prefed'" "`postfed'" "afpl100" "realFedEic" "simFedEic82" "stXyr" "`shrtDemoFedChld1'" "`fullYrFed' &`lowEdu' " ;
REG HELPER - 1 3 afpl100 simFedEic82 year>=1984&year<=1998 &hgcW<13  stXyr yI* cI* ageW_* hgcW_* racesW_* ageH_* hgcH_* racesH_*  
(sum of wgt is   2.2387e+08)
note: yI15 omitted because of collinearity
note: yI16 omitted because of collinearity
note: yI17 omitted because of collinearity
note: yI18 omitted because of collinearity
note: yI19 omitted because of collinearity
note: yI20 omitted because of collinearity
note: yI21 omitted because of collinearity
note: yI22 omitted because of collinearity
note: yI23 omitted because of collinearity
note: yI24 omitted because of collinearity
note: yI25 omitted because of collinearity
note: yI26 omitted because of collinearity
note: yI27 omitted because of collinearity
note: yI28 omitted because of collinearity
note: yI29 omitted because of collinearity
note: yI30 omitted because of collinearity
note: cI3 omitted because of collinearity
note: ageW_20 omitted because of collinearity
note: ageW_48 omitted because of collinearity
note: ageW_52 omitted because of collinearity
note: hgcW_12 omitted because of collinearity
note: hgcW_13 omitted because of collinearity
note: hgcW_16 omitted because of collinearity
note: hgcW_17 omitted because of collinearity
note: hgcH_17 omitted because of collinearity
note: yI1 omitted because of collinearity
note: yI2 omitted because of collinearity
note: yI3 omitted because of collinearity
note: yI4 omitted because of collinearity
note: yI5 omitted because of collinearity
note: yI6 omitted because of collinearity
note: yI7 omitted because of collinearity
note: yI8 omitted because of collinearity
note: yI9 omitted because of collinearity
note: yI10 omitted because of collinearity
note: yI11 omitted because of collinearity
note: yI12 omitted because of collinearity
note: yI13 omitted because of collinearity
note: yI14 omitted because of collinearity

Linear regression, absorbing indicators         Number of obs     =    135,745
                                                F(  28,     48)   =      61.60
                                                Prob > F          =     0.0000
                                                R-squared         =     0.0895
                                                Adj R-squared     =     0.0844
                                                Root MSE          =     0.2702

                                 (Std. Err. adjusted for 49 clusters in state)
------------------------------------------------------------------------------
             |               Robust
     afpl100 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
 simFedEic82 |   .0794621   .0140739     5.65   0.000     .0511646    .1077595
         yI1 |          0  (omitted)
         yI2 |          0  (omitted)
         yI3 |          0  (omitted)
         yI4 |          0  (omitted)
         yI5 |          0  (omitted)
         yI6 |          0  (omitted)
         yI7 |          0  (omitted)
         yI8 |          0  (omitted)
         yI9 |          0  (omitted)
        yI10 |          0  (omitted)
        yI11 |          0  (omitted)
        yI12 |          0  (omitted)
        yI13 |          0  (omitted)
        yI14 |          0  (omitted)
        yI15 |          0  (omitted)
        yI16 |          0  (omitted)
        yI17 |          0  (omitted)
        yI18 |          0  (omitted)
        yI19 |          0  (omitted)
        yI20 |          0  (omitted)
        yI21 |          0  (omitted)
        yI22 |          0  (omitted)
        yI23 |          0  (omitted)
        yI24 |          0  (omitted)
        yI25 |          0  (omitted)
        yI26 |          0  (omitted)
        yI27 |          0  (omitted)
        yI28 |          0  (omitted)
        yI29 |          0  (omitted)
        yI30 |          0  (omitted)
         cI0 |   .1226309   .0088481    13.86   0.000     .1048405    .1404212
         cI1 |   .1107259   .0063332    17.48   0.000     .0979922    .1234596
         cI2 |   .0770505   .0063927    12.05   0.000      .064197    .0899039
         cI3 |          0  (omitted)
     ageW_20 |          0  (omitted)
     ageW_24 |  -.0346281   .0075652    -4.58   0.000    -.0498389   -.0194172
     ageW_28 |  -.0130286    .006705    -1.94   0.058      -.02651    .0004528
     ageW_32 |   .0006244   .0055635     0.11   0.911    -.0105619    .0118106
     ageW_36 |   .0062421   .0052726     1.18   0.242    -.0043592    .0168433
     ageW_40 |   .0006678   .0051049     0.13   0.896    -.0095964    .0109319
     ageW_44 |   .0067089   .0047561     1.41   0.165    -.0028539    .0162718
     ageW_48 |          0  (omitted)
     ageW_52 |          0  (omitted)
     hgcW_11 |  -.0676984   .0041467   -16.33   0.000     -.076036   -.0593609
     hgcW_12 |          0  (omitted)
     hgcW_13 |          0  (omitted)
     hgcW_16 |          0  (omitted)
     hgcW_17 |          0  (omitted)
    racesW_1 |   .0048893   .0041005     1.19   0.239    -.0033552    .0131338
    racesW_2 |   -.031503    .004502    -7.00   0.000    -.0405549   -.0224511
     ageH_20 |  -.0324774   .0188461    -1.72   0.091    -.0703701    .0054153
     ageH_24 |   .0372882   .0075357     4.95   0.000     .0221366    .0524397
     ageH_28 |   .0439979    .007608     5.78   0.000      .028701    .0592947
     ageH_32 |   .0467232   .0076596     6.10   0.000     .0313225    .0621238
     ageH_36 |   .0426347   .0072274     5.90   0.000     .0281031    .0571662
     ageH_40 |   .0398005   .0071451     5.57   0.000     .0254342    .0541667
     ageH_44 |   .0373511    .007838     4.77   0.000     .0215919    .0531104
     ageH_48 |   .0324311   .0065693     4.94   0.000     .0192226    .0456397
     ageH_52 |   .0247807   .0079246     3.13   0.003     .0088473    .0407142
     hgcH_11 |  -.0591098   .0081186    -7.28   0.000    -.0754333   -.0427863
     hgcH_12 |   .0054109    .005386     1.00   0.320    -.0054183    .0162402
     hgcH_13 |   .0171678   .0053123     3.23   0.002     .0064867    .0278488
     hgcH_16 |   .0151389   .0059142     2.56   0.014     .0032475    .0270302
     hgcH_17 |          0  (omitted)
    racesH_1 |   .0312547   .0048543     6.44   0.000     .0214945    .0410148
    racesH_2 |  -.0349793   .0057534    -6.08   0.000    -.0465472   -.0234114
       _cons |   .7829686    .010013    78.20   0.000     .7628361    .8031011
-------------+----------------------------------------------------------------
       stXyr |   absorbed                                     (735 categories)

. regHelper "con" "1" "4" "`treat1plus'" "`prefed'" "`postfed'" "afpl100" "realFedEic" "simFedEic82" "stXyr" "`fu82DemoFedChld1'" "`fullYrFed' &`lowEdu' " ;
REG HELPER - 1 4 afpl100 simFedEic82 year>=1984&year<=1998 &hgcW<13  stXyr yI* cI* ageW_* hgcW_* racesW_* ageH_* hgcH_* racesH_*  fedRegTaxSIV_82cps afdcSIV_82cps anywave_1 ur_1 
(sum of wgt is   2.2387e+08)
note: yI15 omitted because of collinearity
note: yI16 omitted because of collinearity
note: yI17 omitted because of collinearity
note: yI18 omitted because of collinearity
note: yI19 omitted because of collinearity
note: yI20 omitted because of collinearity
note: yI21 omitted because of collinearity
note: yI22 omitted because of collinearity
note: yI23 omitted because of collinearity
note: yI24 omitted because of collinearity
note: yI25 omitted because of collinearity
note: yI26 omitted because of collinearity
note: yI27 omitted because of collinearity
note: yI28 omitted because of collinearity
note: yI29 omitted because of collinearity
note: yI30 omitted because of collinearity
note: cI3 omitted because of collinearity
note: ageW_20 omitted because of collinearity
note: ageW_48 omitted because of collinearity
note: ageW_52 omitted because of collinearity
note: hgcW_12 omitted because of collinearity
note: hgcW_13 omitted because of collinearity
note: hgcW_16 omitted because of collinearity
note: hgcW_17 omitted because of collinearity
note: hgcH_17 omitted because of collinearity
note: yI1 omitted because of collinearity
note: yI2 omitted because of collinearity
note: yI3 omitted because of collinearity
note: yI4 omitted because of collinearity
note: yI5 omitted because of collinearity
note: yI6 omitted because of collinearity
note: yI7 omitted because of collinearity
note: yI8 omitted because of collinearity
note: yI9 omitted because of collinearity
note: yI10 omitted because of collinearity
note: yI11 omitted because of collinearity
note: yI12 omitted because of collinearity
note: yI13 omitted because of collinearity
note: yI14 omitted because of collinearity

Linear regression, absorbing indicators         Number of obs     =    135,745
                                                F(  32,     48)   =     238.08
                                                Prob > F          =     0.0000
                                                R-squared         =     0.0897
                                                Adj R-squared     =     0.0845
                                                Root MSE          =     0.2701

                                       (Std. Err. adjusted for 49 clusters in state)
------------------------------------------------------------------------------------
                   |               Robust
           afpl100 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------------+----------------------------------------------------------------
       simFedEic82 |   .0666965   .0170018     3.92   0.000      .032512    .1008809
               yI1 |          0  (omitted)
               yI2 |          0  (omitted)
               yI3 |          0  (omitted)
               yI4 |          0  (omitted)
               yI5 |          0  (omitted)
               yI6 |          0  (omitted)
               yI7 |          0  (omitted)
               yI8 |          0  (omitted)
               yI9 |          0  (omitted)
              yI10 |          0  (omitted)
              yI11 |          0  (omitted)
              yI12 |          0  (omitted)
              yI13 |          0  (omitted)
              yI14 |          0  (omitted)
              yI15 |          0  (omitted)
              yI16 |          0  (omitted)
              yI17 |          0  (omitted)
              yI18 |          0  (omitted)
              yI19 |          0  (omitted)
              yI20 |          0  (omitted)
              yI21 |          0  (omitted)
              yI22 |          0  (omitted)
              yI23 |          0  (omitted)
              yI24 |          0  (omitted)
              yI25 |          0  (omitted)
              yI26 |          0  (omitted)
              yI27 |          0  (omitted)
              yI28 |          0  (omitted)
              yI29 |          0  (omitted)
              yI30 |          0  (omitted)
               cI0 |   .1108758   .0537509     2.06   0.045     .0028023    .2189493
               cI1 |   .1057366   .0214589     4.93   0.000     .0625906    .1488825
               cI2 |    .072993    .021144     3.45   0.001     .0304801     .115506
               cI3 |          0  (omitted)
           ageW_20 |          0  (omitted)
           ageW_24 |  -.0347938   .0075216    -4.63   0.000     -.049917   -.0196705
           ageW_28 |  -.0131941   .0066686    -1.98   0.054    -.0266022    .0002141
           ageW_32 |   .0004332   .0055049     0.08   0.938    -.0106352    .0115017
           ageW_36 |   .0061521   .0052382     1.17   0.246    -.0043799    .0166842
           ageW_40 |   .0006786   .0050912     0.13   0.895     -.009558    .0109152
           ageW_44 |    .006714   .0047573     1.41   0.165    -.0028512    .0162792
           ageW_48 |          0  (omitted)
           ageW_52 |          0  (omitted)
           hgcW_11 |  -.0675933   .0040324   -16.76   0.000    -.0757009   -.0594857
           hgcW_12 |          0  (omitted)
           hgcW_13 |          0  (omitted)
           hgcW_16 |          0  (omitted)
           hgcW_17 |          0  (omitted)
          racesW_1 |   .0049125   .0041049     1.20   0.237     -.003341     .013166
          racesW_2 |  -.0313412   .0044126    -7.10   0.000    -.0402133   -.0224691
           ageH_20 |   -.032567   .0189025    -1.72   0.091     -.070573    .0054389
           ageH_24 |   .0372771   .0075036     4.97   0.000     .0221901     .052364
           ageH_28 |   .0439839   .0075743     5.81   0.000     .0287549     .059213
           ageH_32 |   .0467242   .0076206     6.13   0.000      .031402    .0620463
           ageH_36 |   .0427091   .0072007     5.93   0.000     .0282312    .0571871
           ageH_40 |   .0398699   .0071468     5.58   0.000     .0255002    .0542396
           ageH_44 |   .0374366   .0077867     4.81   0.000     .0217805    .0530928
           ageH_48 |   .0325008   .0065442     4.97   0.000     .0193428    .0456589
           ageH_52 |    .024705   .0078913     3.13   0.003     .0088385    .0405716
           hgcH_11 |  -.0589557   .0080381    -7.33   0.000    -.0751175    -.042794
           hgcH_12 |   .0054289   .0053777     1.01   0.318    -.0053837    .0162416
           hgcH_13 |   .0171401   .0052933     3.24   0.002     .0064972    .0277829
           hgcH_16 |   .0151087   .0058847     2.57   0.013     .0032768    .0269407
           hgcH_17 |          0  (omitted)
          racesH_1 |   .0314018   .0048554     6.47   0.000     .0216394    .0411642
          racesH_2 |  -.0348589   .0056513    -6.17   0.000    -.0462216   -.0234963
fedRegTaxSIV_82cps |  -2.16e-06   .0000141    -0.15   0.879    -.0000305    .0000262
     afdcSIV_82cps |  -.0000135   .0000103    -1.31   0.196    -.0000341    7.18e-06
         anywave_1 |   .0027159   .0047503     0.57   0.570    -.0068353     .012267
              ur_1 |  -.1125739   .1068488    -1.05   0.297    -.3274078    .1022599
             _cons |   .8206192   .1177568     6.97   0.000     .5838534    1.057385
-------------------+----------------------------------------------------------------
             stXyr |   absorbed                                     (735 categories)

. mat list con , nodotz ;

con[8,4]
           c1         c2         c3         c4
r1  .02205147  .00491185  .07946206  .06669645
r2  .00454905  .00555308   .0140739  .01700181
r3  .07308394  .01359761  .04832761  .03753763
r4  .07993638  .01487254  .05295238  .04112985
r5                                            
r6      60253      60253     135745     135745
r7  .91427626  .91427626  .91266165  .91266165
r8         48         48         48         48

. mat drop con ;

. */
> *;
. log close ;
      name:  <unnamed>
       log:  11_MarriedCouples_analysis.log
  log type:  text
 closed on:  16 Apr 2018, 13:42:38
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
